﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SensorRWTool
{
    class SensorManager
    {
        private List<Sensor> list;

        public SensorManager()
        {
            list = new List<Sensor>();
        }

        public void AddSensor(Sensor s)
        {
            list.Add(s);
        }

        public Sensor GetSensor(int index)
        {
            return list[index];
        }

        public int GetSensorCount()
        {
            return list.Count;
        }
    }
}
